package com.example.newbee.mvp.contact;

import com.example.mylibrary.mvp.model.IModel;
import com.example.mylibrary.mvp.view.IView;
import com.example.newbee.bean.UserBean;

import io.reactivex.Observer;

public interface RegisterContact{
    interface Model extends IModel{
        void login(String username,String pwd,Observer<UserBean> observer);
        void register(String username, String pwd, Observer<UserBean> observer);
    }
    interface View extends IView {
        String getUsername();
        String getPwd();
        void goLogin();
        void goMain();
    }
}
